-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue-49 Changes wrt to Tags Block #56
Conversation
Hello, I'm Franklin Bot and I will run some test suites that validate the page speed.
|
ce1e1f2
to
e2b482d
Compare
|
|
|
|
|
1 similar comment
|
@jindaliiita I can see a single tag repeated multiple times. Which is not the case on the sunstar.com page. |
@RitwikSrivastava i have intentionally added random tags for my testing in draft document. |
const tags = block.querySelectorAll('a'); | ||
block.innerHTML = ''; | ||
|
||
[...tags].forEach((tag) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have the tags in metadata block. Could we use them? One difference though is that you need links for them. But it looks like you can build it from the tag name itself. If not, we could keep it in a spreadsheet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i can check that. Good point
Tracked via #60. |
Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #49
Test URLs:
Before: https://main--sunstar--hlxsites.hlx.live/_drafts/piyush/healthy-thinking/how-has-covid-19-impacted-our-health
After: https://issue-41--sunstar--hlxsites.hlx.live/_drafts/piyush/healthy-thinking/how-has-covid-19-impacted-our-health
If you are adding a new block or a variation to an existing block, has it been added in the block-inventory ?